import request from '@/utils/request'

// 宝宝列表
export function childrenList(params) {
  return request({
    url: '/mapi/children/list',
    method: 'post',
    params
  })
}

// 宝宝详情
export function childrenDetail(params) {
  return request({
    url: '/mapi/children/detail',
    method: 'post',
    params
  })
}

// 宝宝编辑
export function update_child_info(params) {
  return request({
    url: '/mapi/children/update_child_info',
    method: 'post',
    params
  })
}

// 删除
export function childrenDelete(params) {
  return request({
    url: '/mapi/children/delete',
    method: 'post',
    params
  })
}
